package com.dt.modbus.config.components;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 客户端认证信息
 *
 * @author CLS
 * @since 1.0.0
 */
@Configuration
@ConfigurationProperties(prefix = "modbus")
@Data
public class ModbusYml {
    //========================RTU_设备信息===========================
    private String device_1;
    private Integer device_1_port;
    //========================TCP_设备信息===========================
    private String device_2;
    private Integer device_2_port;

    private String log_path;
}
